package com.example.fms.dto.resp;

import com.example.fms.dto.req.AttrDto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class GoodsRespOneDto {
    //id
    private Long goods_id;

    private String goods_name;

    private Integer goods_price;

    private Integer goods_number;

    private Integer goods_weight;

    private Integer goods_state;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date add_time;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date upd_time;

    private Integer hot_number;

    private Integer is_promote;

    private List<AttrDto> attrs;

    private Long id;
    private String name;
    private String gender;
    private String age;
    private String baseCity;
    private String education;
    private String work;


}
